Doofinder\WP\Api\Test\ClientTest S

Total Complexity 33
Dependencies 1
Dependents 0
Total lines 413
Lines of code 328
Logical lines of code 172
Comment lines 34
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
testHasNextAndPrev()
S
53 5 24
testAuthHeadersAreSent()
S
63 2 11
testFromQueryStringWithCustomPrefix()
S
55 1 18
testToQueryStringWithCustomPrefix()
S
56 1 18
testFromQueryString()
S
56 1 18
testNextPage()
S
56 1 17
testConstructorFromQueryStringWithCustomPrefix()
S
56 1 17
testPrevPage()
S
56 1 17
testRequeryWhenFilterAndNoQueryName()
S
58 1 15
testToQueryString()
S
58 1 15
setUp()
S
58 1 15
testSanitizeEmptyValues()
S
58 1 14
testFilteredQuery()
S
60 1 13
testSetFilter()
S
61 1 12
testBasicAndMatchAllQuery()
S
62 1 12
testRegisterBannerDisplay()
S
69 1 6
testRegisterCheckout()
S
68 1 6
testRegisterClick()
S
68 1 6
testInitSession()
S
68 1 6
testRegisterBannerClick()
S
69 1 6
testAddSort()
S
64 1 9
testGetFilters()
S
65 1 8
testGetFilter()
S
64 1 9
testUpdateRangeFilterKeys()
S
63 1 9
testPageParameter()
S
67 1 7
testAnyOptionGoesToURL()
S
67 1 7
testGetOptions()
S
68 1 7
testRegisterRedirection()
S
68 1 6